package com.example.micro.netty.server.thread.pool;

import lombok.AllArgsConstructor;

import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveTask;

@AllArgsConstructor
public class DivTask extends Thread {

    int a, b;

    @Override
    public void run() {
        double res = a / b;
        System.out.println(res);
    }

}
